brush
Type
keyword
Summary
Designates the paint tool used to draw freehand brushstrokes in an image.
Syntax
brush
Description
Use the brush keyword to paint brushstrokes with the brushColor.
When using the Brush tool, the cursor is the shape specified by the brush property (over stack windows) or an arrow (anywhere else). This tool is used to brush the brushColor (or brushPattern) onto an image.
If you try to paint with the brush on a card that has no images, an image the size of the card is temporarily created to hold the painting that will disappear after changing card; an image must first be created in order to keep a painting. If the current card already has one or more images, painting outside the image has no effect.
Examples
choose brush tool
Related
property: brush, brushPattern, brushColor
command: choose
function: tool
glossary: keyword, property, paint tool
keyword: image
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile